<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>字符串的扩展</title>
  </head>
  <body>
    <script>
      console.log("\uD842\uDFB7");

      for (let codePoint of "hello") {
        console.log(codePoint);
      }

      // 如果在模板字符串中需要使用反引号，则前面要用反斜杠转义。

      let greeting = `\`Yo\` World!`;
      console.log(greeting);
      
    </script>
  </body>
</html>
